import Mock from 'mockjs'
import banner from './banner.json'
import floor from './floor.json'
import axios from 'axios'
// Mock.mock('url',请求方式,响应)
Mock.mock('/mock/banner','get',{code:200,data:banner})
Mock.mock('/mock/floor','get',{code:200,data:floor})
// axios.get('/mock/banner').then((response)=>{return response.data},(err)=>{return error.message})
